x86/vMSI-X: drop list lock
authorJan Beulich <jbeulich@suse.com>
Wed, 22 Jun 2016 09:59:39 +0000 (11:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 22 Jun 2016 09:59:39 +0000 (11:59 +0200)
commit08844d189930da5b7846ed6078987fb2788d6173
treef361ef2f877f5cbc9659761f39e79a914f6018ad
parent74c6dc2d0ac4dcab0c6243cdf6ed550c1532b798
x86/vMSI-X: drop list lock

msixtbl_pt_{,un}register() already run with both the PCI devices lock
and the domain event lock held, so there's no need for another lock.
Just to be on the safe side, acquire the domain event lock in the
cleanup function (albeit I don't think this is strictly necessary).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/vmsi.c
xen/include/asm-x86/hvm/domain.h